package com.system.permissiondemo.beans;

import com.google.common.collect.Lists;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
* @Description:    分页返回封装
* @Author:         Joe
* @CreateDate:     2020/3/26 20:34
*/
@Data
@Builder
public class PageResult<T> {

    private List<T> data = Lists.newArrayList();

    private Integer total = 0;

    private PageQuery pageQuery = new PageQuery();
}
